package com.kepler.social.core.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class SeqDatasourceConfiguration {

    @Value("${seq.datasource.driverClassName}")
    private String driverClass;
    @Value("${seq.datasource.url}")
    private String url;
    @Value("${seq.datasource.username}")
    private String userName;
    @Value("${seq.datasource.password}")
    private String passWord;
    @Value("${seq.datasource.maximum-pool-size}")
    private Integer maximumPoolSize;
    @Value("${seq.datasource.connection-timeout}")
    private Long connectionTimeout;
    @Value("${seq.datasource.max-lifetime}")
    private Long maxLifetime;
    @Value("${seq.datasource.connection-test-query}")
    private String connectionTestQuery;
    @Value("${seq.datasource.minimum-idle}")
    private Integer minimumIdle;

}